package com.party.mobile.web.dto.login.output;

import com.party.core.model.member.MemberGroup;
import org.springframework.beans.BeanUtils;

/**
 * Created by admin on 2018/5/30.
 */
public class CopyrightOutput {

    // 是否隐藏底部技术支持 1：显示 2：隐藏
    private Integer isHidden;

    // 自定义技术支持(代替原来的'我也要发起')
    private String technicalSupport;

    // 是否隐藏底部版权 1：显示 2：隐藏
    private Integer isHiddenCopyright;

    // 版权简称
    private String copyrightName;

    public Integer getIsHidden() {
        return isHidden;
    }

    public void setIsHidden(Integer isHidden) {
        this.isHidden = isHidden;
    }

    public String getTechnicalSupport() {
        return technicalSupport;
    }

    public void setTechnicalSupport(String technicalSupport) {
        this.technicalSupport = technicalSupport;
    }

    public Integer getIsHiddenCopyright() {
        return isHiddenCopyright;
    }

    public void setIsHiddenCopyright(Integer isHiddenCopyright) {
        this.isHiddenCopyright = isHiddenCopyright;
    }

    public String getCopyrightName() {
        return copyrightName;
    }

    public void setCopyrightName(String copyrightName) {
        this.copyrightName = copyrightName;
    }

    public static CopyrightOutput transform(MemberGroup member){
        CopyrightOutput output = new CopyrightOutput();
        BeanUtils.copyProperties(member, output);
        return output;
    }
}
